#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include"is_leap_year.h"
int main()
{
	int year = 0;
	scanf("%d",&year);
	switch (is_leap_year(year))
	{
	case 0:
	{
		printf("NO!");
		break;
	}
	case 1:
	{
		printf("YES!");
		break;
	}
	}
	return 0;
}
